package com.crazy.appium.page;

import com.crazy.appium.driver.CrazyMobileDriver;
import com.crazy.appium.utils.GetLocatorUtils;
import com.crazy.appium.utils.ProUtil;

import io.appium.java_client.MobileElement;

/**
 * @author 沙陌  qq2879897713
 *
 */
public class YinDaoPage extends BasePage{
	public MobileElement start;
//	public CrazyMobileDriver driver;
//	public GetLocatorUtils locator;
	
	
	public YinDaoPage(CrazyMobileDriver driver,String platform){
		super(driver, platform);
	}
	
	public MobileElement getStart(){
			return getElement("start_Button");
	}
	
	public void ClickStart()
	{
		getStart().click();
	}
	public void siwpeYindao(){
		for(int i=0;i<3;i++){
			driver.sleep(500);
			driver.swipe("left", 1000);
		}
	}

}
